package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName SysMsgConfigDO
 * @Description 邮件服务器配置表
 * @Author ibeeking
 * @Date 2020-12-09 10:54
 **/
@Data
@TableName("sys_msg_config")
public class SysMsgConfigDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 消息接收方类型 1卖家消息 2卖家消息 3 平台消息
     */
    @TableField(value = "receiver_type")
    private Integer receiverType;
    /**
     * 配置名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 附加参数Json
     */
    @TableField(value = "other_info")
    private String otherInfo;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * 是否启用，1-启用，0-未启用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private Long createBy;

    @TableField("modify_time")
    private LocalDateTime modifyTime;

    @TableField("modify_by")
    private Long modifyBy;
}
